//
//  MyAssetsCell.m
//  BrushFace
//
//  Created by timer_q on 15/12/5.
//  Copyright © 2015年 Zzz. All rights reserved.
//

#import "MyAssetsCell.h"
#import "NavHelper.h"

@implementation MyAssetsCell
{
    __weak IBOutlet UILabel *youhuiquanNumLabel;

    __weak IBOutlet UILabel *yuELabel;

    __weak IBOutlet UILabel *renqiLabel;
    
    __weak IBOutlet UILabel *allAssetsLabel;
    
}

- (void)cellSetYuE:(NSString *)yuE andAll:(NSString *)allStr andCoupons:(NSString *)coupons andPeople:(NSString *)people{
    allAssetsLabel.text = [NSString stringWithFormat:@"%@",allStr];
    youhuiquanNumLabel.text = [NSString stringWithFormat:@"%@张",coupons];
    yuELabel.text = [NSString stringWithFormat:@"%@",yuE];
    renqiLabel.text = [NSString stringWithFormat:@"%@",people];
    
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)allAssetsButtonClick:(id)sender {
    [NavHelper gotoMeTotalAssets];
}

- (IBAction)renQiButtonClick:(id)sender {
    [NavHelper gotoMePopular];
}

- (IBAction)yuEButtonClick:(id)sender {
    [NavHelper gotoMeBalance];
}
- (IBAction)youHuiQuanButtonClick:(id)sender {
    [NavHelper gotoMyCoupons];
}

@end
